/*
 * Projectile.h
 *
 *  Created on: Feb 24, 2010
 *      Author: dcrown
 */

#ifndef PROJECTILE_H_
#define PROJECTILE_H_

#include "..\Graphics\Texture.h"
#include "..\Graphics\Sprite.h"

class Projectile
{
public:
	Projectile() {}
	virtual ~Projectile() {}

	void Clear() {};
	void Create();
	void Destroy();

	void Activate(int x, int y);
	void Deactivate();
	void Update();
	void Render();

	bool isVisible() {return visible;}

private:

	void AdjustBounds();

	int centerXPos, centerYPos;
	int imageXPos, imageYPos;
	int windowWidth;
	bool visible;

	Texture* texture;
	Sprite* sprite;
};

#endif /* PROJECTILE_H_ */
